package com.jbl.te.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jbl
 * @since 2020-12-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("te_courseclass_time")
@ApiModel(value="CourseclassTime对象", description="")
public class CourseclassTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "起始周")
    private Integer weekBegin;

    @ApiModelProperty(value = "结束周")
    private Integer weekEnd;

    @ApiModelProperty(value = "起始节")
    private Integer dayBegin;

    @ApiModelProperty(value = "结束节")
    private Integer dayEnd;

    @ApiModelProperty(value = "1-单周 0-双周")
    private Boolean state;

    @ApiModelProperty(value = "0-未删除 1-已删除")
    @TableLogic
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT) //插入操作时自动更新该字段
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE) //插入和更新操作时自动更新该字段
    private Date gmtModified;


}
